package com.zeldu.question.service.impl;


import com.zeldu.question.mapper.PaperMapper;
import com.zeldu.question.pojo.questionLibrary;
import com.zeldu.question.service.PaperService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PaperServiceImpl implements PaperService {
    @Autowired(required = false)
    private PaperMapper paperMapper;

    @Override
    public List<questionLibrary> questions(Long paper_id){
        return paperMapper.questions(paper_id);
    }

    @Override
    public List<questionLibrary> finish_ques(Long exam_id){
        return paperMapper.finish_ques(exam_id);
    }
}
